package ynu.edu.pay;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import ynu.edu.api.config.DefaultFeignConfig;

@EnableFeignClients(basePackages = "ynu.edu.api.client",defaultConfiguration = DefaultFeignConfig.class)
@MapperScan("ynu.edu.pay.mapper")
@SpringBootApplication
@ComponentScan(basePackages = {"ynu.edu.pay", "ynu.edu.common", "ynu.edu.api.client"})
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class, args);
    }
}